package cn.kgc.dto;

import java.io.Serializable;

import lombok.*;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * (Dict)表实体类
 *
 * @author 石浩杰
 * @since 2022-09-24 08:30:39
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel
@SuppressWarnings("serial")
public class DictDTO implements Serializable {
    @ApiModelProperty(name = "id", value = "主键", dataType = "int")
    private Long id; //主键


    @ApiModelProperty(name = "name", value = "${column.comment}", dataType = "java.lang.String")
    private String name;


    @ApiModelProperty(name = "value", value = "数据字典值", dataType = "java.lang.String")
    private String value;    //数据字典值


    @ApiModelProperty(name = "code", value = "数据字典编码", dataType = "java.lang.String")
    private String code;    //数据字典编码


    @ApiModelProperty(name = "type", value = "数据字典类型", dataType = "java.lang.Integer")
    private Integer type;    //数据字典类型


    @ApiModelProperty(name = "pid", value = "数据字典pid", dataType = "java.lang.Integer")
    private Integer pid;    //数据字典pid

    @Version
    private int version;   //版本

    @ApiModelProperty(name = "insertuid", value = "新增用户id", dataType = "java.lang.Integer")
    private Integer insertuid;    //新增用户id


    @ApiModelProperty(name = "updateuid", value = "更新用户id", dataType = "java.lang.Integer")
    private Integer updateuid;    //更新用户id


}
